import { setupI18n } from '@renderer/language'
// import { setupPermission } from "./permission";
import { setupStore } from '@renderer/store'
import { App } from 'vue'
import { setupRouter } from '@renderer/router'

export default {
  install(app: App<Element>) {
    // 路由(router)
    setupRouter(app)
    // 状态管理(store)
    setupStore(app)
    // 国际化
    setupI18n(app)
    // 路由守卫
    // setupPermission();
  }
}
